<template>
    <div class="tmpl">
        <subcomment :commentId="this.$route.params.goodsId"></subcomment>
    </div>
</template>

<style scoped>
</style>

<script>
    //1.导入评论子组件
    import subcomment from '../subcomponent/subcomment.vue';

    export default{
        //2.注册
        components:{
            subcomment
        }
    }
</script>